package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 会员订单对象 p_vip_order
 *
 * @author ruoyi
 * @date 2022-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("p_vip_order")
public class PVipOrder extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id")
    private Long id;
    /**
     * 订单号
     */
    private String vipOrderId;
    /**
     * 支付金额
     */
    private BigDecimal payPrice;
    /**
     * 支付状态 0 待付款 1 已付款
     */
    private String status;
    /**
     * 购买的会员等级
     */
    private String vipValue;
    /**
     * 用户ID
     */
    private Long userId;

}
